﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace dreamwork.auth.api
{
	public class RegisterViewModel
	{
		[Required]
		[Display(Name = "UserName")]
		public string Username { get; set; }

		[Required]
		[DataType(DataType.Password)]
		[Display(Name = "Password")]
		public string Password { get; set; }
		public string ReturnUrl { get; set; }

		//[DataType(DataType.Password)]
		//[Display(Name = "Confirm password")]
		//[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
		//public string ConfirmPassword { get; set; }

	}
}
